<%@LANGUAGE="VBSCRIPT"%> 
 <!--#include file="functions.asp" -->
<%
set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = cn
Recordset1.Source = "SELECT TAXPCT, REGNUM, REGPREFIX, RLVOPREFIX, RLVONUM, URL, PRIMARYDOMAIN, EMAILDOMAIN, INVOICEPATH, SUPVPASSWORD  FROM dbo.EXJRNLPREF"
'Recordset1.CursorType = 0
'Recordset1.CursorLocation = 2
'Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>

<SCRIPT Language="JavaScript">
function DocLoad(){

}

</SCRIPT>
<!--#include file="PageTop.asp" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#93bee2">
  <tr> 
    <td width="8%">&nbsp;</td>
    <td width="2%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td width="8%">&nbsp;</td>
    <td width="2%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td width="8%">&nbsp;</td>
    <td width="2%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td width="8%" height="20">&nbsp;</td>
    <td width="2%" bgcolor="#FFFFFF" height="20"><img src="Images/curv_data.gif" width="21" height="21"></td>
    <td bgcolor="#FFFFFF" height="20">&nbsp;</td>
  </tr>
  <tr> 
    <td width="8%" height="1">&nbsp;</td>
    <td width="2%" bgcolor="#FFFFFF" height="1">&nbsp;</td>
    <td bgcolor="#FFFFFF" height="1"> 
      <form name="form1" action="update_pref.asp" method="post">
        <table width="50%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="4%" height="25" bgcolor="#003399">&nbsp;</td>
            <td width="93%" bgcolor="#003399"><font color="#003399"><b><font color="#FFFFFF">System 
              Preferences </font></b></font></td>
            <td width="3%" bgcolor="#003399">&nbsp;</td>
          </tr>
        </table>
        <br>
        <table align="center" cellpadding="3" cellspacing="2" border="0" width="100%">
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25">&nbsp;</td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25">&nbsp;</td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25" bgcolor="#003399"><b><font color="#FFFFFF">Numbering</font></b></td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25">&nbsp;</td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25" bgcolor="#dedede"> 
              <div align="right"><b>Next Invoice Register Number:&nbsp;</b></div>
            </td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25"> 
              <input type="text" name="InvPrefix" size="10" class="InputBox" value="<%=(Recordset1.Fields.Item("REGPREFIX").Value)%>">
              <input type="text" name="RegNum" class="InputBox" size="15" value="<%=(Recordset1.Fields.Item("REGNUM").Value)%>">
            </td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25" bgcolor="#dedede"> 
              <div align="right"><b>Next LVO Invoice Register Number:&nbsp;</b></div>
            </td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25"> 
              <input type="text" name="LVOPrefix" size="10" class="InputBox" value="<%=(Recordset1.Fields.Item("RLVOPREFIX").Value)%>">
              <input type="text" name="RegLVO" class="InputBox" size="15" value="<%=(Recordset1.Fields.Item("RLVONUM").Value)%>">
            </td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25">&nbsp;</td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25">&nbsp;</td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25" bgcolor="#003399"><font color="#FFFFFF"><b>System 
              Setting </b></font></td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25">&nbsp;</td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25" bgcolor="#dedede"> 
              <div align="right"><b>Supervisor Password: </b></div>
            </td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25"> 
              <input type="password" name="SUPVPASSWORD" class="InputBox" value="<%=(Recordset1.Fields.Item("SUPVPASSWORD").Value)%>">
            </td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25" bgcolor="#dedede"> 
              <div align="right"><b>URL:&nbsp;</b></div>
            </td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25"> 
              <input type="text" name="theURL" size="25" class="InputBox" value="<%=(Recordset1.Fields.Item("URL").Value)%>">
            </td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="40" bgcolor="#dedede"> 
              <div align="right"><b>Primary Domain:&nbsp;</b></div>
            </td>
            <td valign="middle" height="40" width="2%">&nbsp;</td>
            <td valign="middle" height="40"> 
              <input type="text" name="PRIMARYDOMAIN" size="25" class="InputBox" value="<%=(Recordset1.Fields.Item("PRIMARYDOMAIN").Value)%>">
            </td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25" bgcolor="#dedede"> 
              <div align="right"><b>Email Domain:&nbsp;</b></div>
            </td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25"> 
              <input type="text" name="EMAILDOMAIN" size="25" class="InputBox" value="<%=(Recordset1.Fields.Item("EMAILDOMAIN").Value)%>">
            </td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25" bgcolor="#dedede"> 
              <div align="right"><b>LiveLink Invoice Folder:&nbsp;</b></div>
            </td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25"> 
              <input type="text" name="LIVELINKDOC" size="60" class="InputBox" value="<%=(Recordset1.Fields.Item("INVOICEPATH").Value)%>">
              <input type="button" name="Button" value=" Browse " class="sbttn" onClick="openpopup('LL_Browse.asp?fname=form1.LIVELINKDOC')">
            </td>
          </tr>
          <tr valign="baseline"> 
            <td nowrap align="left" width="30%" valign="middle" height="25" bgcolor="#dedede"> 
              <div align="right"><b>Action:</b></div>
            </td>
            <td valign="middle" height="25" width="2%">&nbsp;</td>
            <td valign="middle" height="25"> 
              <input type="submit" value=" Update Changes " class="sbttn">
            </td>
          </tr>
        </table>
      </form>
      <br>
    </td>
  </tr>
  <tr> 
    <td width="8%">&nbsp;</td>
    <td width="2%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td width="8%">&nbsp;</td>
    <td width="2%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<br>
<p>&nbsp;</p>
</body>
</html>
<%
Recordset1.Close()
%>
